package com.miniapp.core.service;


import com.miniapp.common.core.domain.AjaxResult;
import com.miniapp.core.domain.PaicPolicyDetailsResult;
import com.miniapp.core.domain.PaicPolicyParam;
import com.miniapp.core.domain.PaicPolicyResult;
import com.miniapp.core.domain.paicfti.PaicFtiInsureParam;
import com.miniapp.core.domain.paicfti.PremiumCalculationParam;

import java.util.List;

public interface IPaicFtiService {

    /**
     * 投保
     * @param paicFtiInsureParam
     * @return
     */
    public AjaxResult insure(PaicFtiInsureParam paicFtiInsureParam);

    /**
     * 查询保单列表
     * @param paicPolicyParam
     * @return
     */
    public List<PaicPolicyResult> policyList(PaicPolicyParam paicPolicyParam);

    /**
     * 查询平安货运险保单详情
     * @param policyId
     * @return
     */
    PaicPolicyDetailsResult policyDetails(Integer policyId);

    /**
     * 根据保额 产品方案计算保费
     * @param premiumCalculationParam
     * @return
     */
    AjaxResult premiumCalculation(PremiumCalculationParam premiumCalculationParam);



}
